import requestMeeting from '@/plugins/axios'
import { API_PROTAL_PREFIX } from '@/utils/constant'
import { IPersonalConfig } from './interface'
/** 保存个性化设置 */
export const fetchSavePersonalConfig = async (params: IPersonalConfig) =>
	requestMeeting({
		baseURL: API_PROTAL_PREFIX,
		url: '/personal_settings/types/meeting',
		method: 'post',
		data: { personal_setting: JSON.stringify(params) },
	}).then((res) => res.success)
